package com.yurun.orgstudentmodule.mapper;

import com.yurun.commonapi.pojo.GroupTrainingPlanSummaryWeek202111;
import com.yurun.commonapi.pojo.GroupTrainingPlanSummaryWeek202111WithBLOBs;
import com.yurun.commonapi.pojo.GroupTrainingPlanSummaryWeek202112;
import com.yurun.commonapi.pojo.StudentTrainingTable;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface GroupTrainingPlanSummaryWeek202112Mapper {

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table group_training_plan_summary_week_2021_11
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table group_training_plan_summary_week_2021_11
     *
     * @mbggenerated
     */
    int insert(GroupTrainingPlanSummaryWeek202111WithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table group_training_plan_summary_week_2021_11
     *
     * @mbggenerated
     */
    int insertSelective(GroupTrainingPlanSummaryWeek202111WithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table group_training_plan_summary_week_2021_11
     *
     * @mbggenerated
     */
    GroupTrainingPlanSummaryWeek202112 selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table group_training_plan_summary_week_2021_11
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(GroupTrainingPlanSummaryWeek202111WithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table group_training_plan_summary_week_2021_11
     *
     * @mbggenerated
     */
    int updateByPrimaryKeyWithBLOBs(GroupTrainingPlanSummaryWeek202111WithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table group_training_plan_summary_week_2021_11
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(GroupTrainingPlanSummaryWeek202111 record);

    List<GroupTrainingPlanSummaryWeek202112> allStudentTrainingInfo(StudentTrainingTable studentTrainingTable);

    GroupTrainingPlanSummaryWeek202112 getOneTrainingInfo(StudentTrainingTable studentTrainingTable);
}
